﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laba2.Entity
{
    public class RatingByDate:Entity
    {
        private int _delay;
        private int _rating;

        public RatingByDate(int id, int delay, int rating) : base(id)
        {
            _delay = delay;
            _rating = rating;
        }

        public RatingByDate(int rating, int delay)
        {
            _rating = rating;
            _delay = delay;
        }

        public RatingByDate()
        {
        }

        public  int Delay
        {
            get { return _delay; }
            set { _delay = value; }
        }

        public  int Rating
        {
            get { return _rating; }
            set { _rating = value; }
        }
    }
}
